package com.hwadee.teachingprocessmanagementsystem.util;

/**
 * @Description: 分页工具
 * @Author: Jukomu
 * @Package: org.example.util
 * @Project: Mybatis-demo
 * @name: PageUtils
 * @Date: 2024/7/4-17:38
 * @Filename: PageUtils
 */
public class PageUtils {
    public static int getPageStart(int page, int limit) {
        return (page-1)*limit;
    }
}
